package com.mbatis.leeCode;

import org.junit.Test;

/**
 * @Classname reverse
 * @Date 2021/5/21 14:57  整数反转
 * @Created by zhang.yuming
 */
public class reverse {

    @Test
    public void re(){
        
    }

    public static void main(String[] args) {
        System.out.println(Integer.MIN_VALUE);
        System.out.println(Integer.MAX_VALUE);
//        int x = 1236;
//        int rev = 0;
//        while(x!=0){
//            int digit = x%10;
//            x/=10;
//
//            rev = rev * 10 +digit;
//        }
//        System.out.println("rev="+rev);
    }
}
